package pri.niddles;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import pri.niddles.config.bannerConfig;

@SpringBootApplication(scanBasePackages = "pri.niddles")
@MapperScan("pri.niddles.mapper")
//@EnableCaching  //开启缓存
public class BlogApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(BlogApplication.class);
      //  springApplication.setBanner(new bannerConfig());
        springApplication.run(args);

    }

}
